#pragma once

#include "BibliothequeBRepP.h"
#include "BibliothequeLGB.h"

// CBDCreationBoite dialog

class CBDCreationBoite : public CDialog
{
	DECLARE_DYNAMIC(CBDCreationBoite)

public:
	CBDCreationBoite(CWnd* pParent = NULL);   // standard constructor
	virtual ~CBDCreationBoite();
	BOOL OnInitDialog();

// Dialog Data
	enum { IDD = IDD_BDCREATION_BOITE };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()

private :
	SolidesP	LaBoite ;
	bool		Debut ;
	double mXCentre;
	double mYCentre;
	double mZCentre;
	double mPorteeX;
	double mPorteeY;
	double mPorteeZ;
	void EffacerRecreerAfficherBoite ();
	afx_msg void OnEnChangeEditXcentre();
	afx_msg void OnEnChangeEditYcentre();
	afx_msg void OnEnChangeEditZcentre();
	afx_msg void OnEnChangeEditPorteex();
	afx_msg void OnEnChangeEditPorteey();
	afx_msg void OnEnChangeEditPorteez();
	afx_msg void OnBnClickedCancel();
private:
	// Attribut du solide
	AttributsSolides	mAS;
private:
	// Attribut pour des faces du solide
	AttributsFaces		mAF;
	afx_msg void OnBnClickedBoutonCouleur();
};
